#include <iostream>
// 给cout配置hex或者oct，会改变之后数字的输出格式
int main(int argc, char const *argv[])
{
    using namespace std;
    int chest = 42;
    int waist = 42;
    int inseam = 42;
    cout << "chest = " << chest << "(descimal for 42)" << endl;
    cout << hex; // 将输出改为16进制
    cout << "waist = " << waist << "(hexadecimal for 42)" << endl;
    cout << oct; // 将输出改为8进制
    cout << "inseam = " << inseam << "(octal for 42)" << endl;

    return 0;
}
